/**
 * Created by 张强 on 2018/1/30.
 */
//获取应用实例
let app = getApp();
Component({
    properties: {
        data: {
            type: Array
        },
        isShowView: {
            type: Boolean
        }
    },
    data: {},
    methods: {
        //选择车牌
        checkedPreFix(e) {
            let myEventDetail = {
                name: e.target.dataset.name
            };// detail对象，提供给事件监听函数
            let myEventOption = {}; // 触发事件的选项
            this.triggerEvent('checked', myEventDetail, myEventOption)
        }
    },
});